package io.finer.erp.jeecg.purchase.entity;

import java.util.Date;
import java.io.Serializable;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 采购通用设置
 * </p>
 *
 * @author yaoyifan
 * @since 2021-06-04
 */
@Data
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="PurchaseSettings对象", description="采购通用设置")
public class PurchaseSettings implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value= "ID")
    @TableId(value = "id", type = IdType.ID_WORKER_STR)
    private String id;

    @ApiModelProperty(value = "重新采购")
    private Boolean repurchase;

    @ApiModelProperty(value = "采购申请要求取消原因")
    private Boolean needCancelPrReason;

    @ApiModelProperty(value = "默认收货库位")
    private String defaultReceivingLocationId;

    @ApiModelProperty(value = "默认收货地址")
    private String defaultReceivingAddressId;

    @ApiModelProperty(value = "默认收单地址")
    private String defaultBillingAddressId;

    @ApiModelProperty(value = "采购订单要求取消原因")
    private Boolean needCancelPoReason;

    @ApiModelProperty(value = "创建时间")
    private Date createTime;

    @ApiModelProperty(value = "修改时间")
    private Date updateTime;


}
